<?php
use common\service\StaticService;
use common\service\GlobalUrlService;
use backend\assets\AdminAsset;
use common\service\CommonService;

StaticService::includeAppJsStatic(GlobalUrlService::buildStaticUrl('/backend/withdraw/index.js'),AdminAsset::class);
?>
<div class="layui-card">
    <div class="layui-card-header">提现列表</div>
    <div class="layui-card-body">
        <form  class="layui-form" method="get" id="form1">
            <div class="layui-form-item">
                订单号:
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" name="withdraw_no" id="withdraw_no" lay-verify="title" autocomplete="off" placeholder="请输入订单号" class="layui-input">
                    </div>
                </div>
                商家名称:
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" name="shop_name" id="shop_name" lay-verify="title" autocomplete="off" placeholder="请输入商家名称" class="layui-input">
                    </div>
                </div>
                申请时间:
                <div class="layui-inline">
                    <div class="layui-input-inline">
                        <input type="text" name="start_time" id="start_time" lay-verify="title" autocomplete="off" placeholder="开始时间" class="layui-input">
                    </div>
                    <div class="layui-input-inline">
                        <input type="text" name="end_time" id="end_time" lay-verify="title" autocomplete="off" placeholder="截止时间" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn" lay-submit lay-filter="serch-form">搜索</button>
                </div>
            </div>
        </form>
        <div class="layui-form-item">
            <table class="layui-hide" id="test"  lay-filter="barDemo"></table>
        </div>
    </div>
</div>


<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="detail">查看</a>
    {{# if(d.withdraw_status == 2){}}
    <a class="layui-btn layui-btn-xs" lay-event="pay-money">提现</a>
    {{# } }}
</script>

